<?php
declare(strict_types=1);
namespace Service\CommodityService;

use Service\BaseService;
use App\Model\CommodityModel\CommodityArchives;

/**
 * 主档案商品服务
 * @author chenshubo
 */
class CommodityArchiveGoodsService extends BaseService
{
    /**
     * 获取主档案skucode明细
     * @param array $ids
     */
    public function queryArchiveGoodsSkuCodeListByIds( array $ids)
    {
        return CommodityArchives::instance()->select([
            'ID',
            'SKUCode'
        ])
        ->whereIn('ID',$ids)
        ->get()
        ->toArray();
    }
}